<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Back-door Access Package</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script></head><body class="FramedContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.52 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Back-door_Access_Package"></a>Back-door Access Package</h1><div class=CBody><p>This package provide abstract class definitions for making back-door accessing to memory.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#Back-door_Access_Package" >Back-door Access Package</a></td><td class=SDescription>This package provide abstract class definitions for making back-door accessing to memory.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Class_Constructor" >Class Constructor</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#new" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">new</a></td><td class=SDescription>Create the initializes an instance of this class using normal constructor arguments for &lt;uvm_component&gt; : ~name~ is the name of the instance.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Virtual_Methods" >Virtual Methods</a></td><td class=SDescription>Prototype of Virtual Method.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#bd_access_read" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">bd_access_read</a></td><td class=SDescription>Virtual function definition for READ ACCESS TO MEMORY. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#bd_access_write" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">bd_access_write</a></td><td class=SDescription>Virtual function definition for writ ACCESS TO MEMORY. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Class_Constructor"></a>Class Constructor</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="new"></a>new</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>function new(</td><td class="PType  prettyprint " nowrap>string&nbsp;</td><td class="PParameter  prettyprint " nowrap>name</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%> &quot;&quot;</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create the initializes an instance of this class using normal constructor arguments for &lt;uvm_component&gt; : ~name~ is the name of the instance.</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Virtual_Methods"></a>Virtual Methods</h3><div class=CBody><p>Prototype of Virtual Method.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="bd_access_read"></a>bd_access_read</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "colspan=3>pure virtual function bit [(`DATA_WIDTH-1):0] bd_access_read (</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PType  prettyprint " nowrap>bit[(`ADDRESS_WIDTH-1):0]&nbsp;</td><td class="PParameter  prettyprint " nowrap width=100%>addr</td></tr><tr><td class="PAfterParameters  prettyprint "colspan=3>)</td></tr></table></td></tr></table></blockquote><p>Virtual function definition for READ ACCESS TO MEMORY.&nbsp; It will return &lt;read data&gt; from &lt;addr&gt;.Implementation of this function is present in &lt;bd_mem_derived.svh&gt;.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="bd_access_write"></a>bd_access_write</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>pure virtual function void bd_access_write (</td><td class="PTypePrefix  prettyprint " nowrap></td><td class="PType  prettyprint " nowrap>bit[(`ADDRESS_WIDTH-1):0]&nbsp;</td><td class="PParameter  prettyprint " nowrap>addr,</td></tr><tr><td></td><td class="PTypePrefix  prettyprint " nowrap>bit&nbsp;</td><td class="PType  prettyprint " nowrap>[(`DATA_WIDTH-1):0]&nbsp;</td><td class="PParameter  prettyprint " nowrap>data</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Virtual function definition for writ ACCESS TO MEMORY.&nbsp; It will write the &lt;data&gt; to &lt;addr&gt; passed with this function.Implementation of this function is present in &lt;bd_mem_derived.svh&gt;.</p></div></div></div>

</div><!--Content-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>function new(</td><td class="PType  prettyprint " nowrap>string&nbsp;</td><td class="PParameter  prettyprint " nowrap>name</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%> &quot;&quot;</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Create the initializes an instance of this class using normal constructor arguments for uvm_component : ~name~ is the name of the instance.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "colspan=3>pure virtual function bit [(`DATA_WIDTH-1):0] bd_access_read (</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PType  prettyprint " nowrap>bit[(`ADDRESS_WIDTH-1):0]&nbsp;</td><td class="PParameter  prettyprint " nowrap width=100%>addr</td></tr><tr><td class="PAfterParameters  prettyprint "colspan=3>)</td></tr></table></td></tr></table></blockquote>Virtual function definition for READ ACCESS TO MEMORY. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>pure virtual function void bd_access_write (</td><td class="PTypePrefix  prettyprint " nowrap></td><td class="PType  prettyprint " nowrap>bit[(`ADDRESS_WIDTH-1):0]&nbsp;</td><td class="PParameter  prettyprint " nowrap>addr,</td></tr><tr><td></td><td class="PTypePrefix  prettyprint " nowrap>bit&nbsp;</td><td class="PType  prettyprint " nowrap>[(`DATA_WIDTH-1):0]&nbsp;</td><td class="PParameter  prettyprint " nowrap>data</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Virtual function definition for writ ACCESS TO MEMORY. </div></div><!--END_ND_TOOLTIPS-->

<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>